<%@ page contentType="text/html;charset=UTF-8" %>
  <div class="tzgg user_tzgg">
  	<form	id="content_notice_form">
  		<input type="hidden" name="methodKey" value="contentList" >
  		<input type="hidden" name="contentType" value="交易公告" >
  		<input type="hidden" name="tab" value="div" >
  	</form>
    <h6 class="tzgg_title"><img src="${ctx}/images/web/icon05.png" /> 竞价公告</h6>
    <marquee width="780" height="50"><ul id="content_notice_div"></ul></marquee>
	    <script type="text/template" id="content_notice_div_html">
		<? for ( var i = 0; i < rows.length; i++) {?>
		<li><a href="/admin/hall/content/<?=rows[i].infoId?>" ><?=rows[i].title?></a></li>
		<?}?> 
		</script>
    <div class="user"> 
    	<span>当前用户：</span><a href="${ctx}/page.action?to=index" class="user_cur" title="${loginUser.userEname}">${loginUser.userEname}</a> 
        <a href="javascript:logout('F')"><img src="${ctx}/images/web/icon_tc.png"  /></a>
     </div>
     <p class="more"><a href="${ctx}/sendPage/hall/contents" >查看更多</a></p> 
  </div>

<script type="text/javascript">

//初始化加载
$(function(){
	//加载所有交易公告
	searchSubmit("hall","content_notice");
});

function showGG(title,id){
	getContentObj(id);
}
function getContentCallBack(flag,data){
	//alert(flag+"-"+data);
	var ggHtmls = "";
	if("T"==flag){
		ggHtmls="<h3>"+data.title+"</h3>";
		ggHtmls+="<div style='height:200px;overflow-x:auto;'><p>"+strUtil.doNull(data.infoContent,"")+"</p></div>";
	}else{
		ggHtmls = "公告详情信息获取失败";
	}
	layer.open({
	   type: 1,
	   title: "查看公告详情",
	   closeBtn: 1,
	   area: ['500px', '320px'],
	   shadeClose: true,
	   content: "<div style='padding:10px 10px;line-height:30px;text-align:center;'>"+ggHtmls+"</div>"
	});
}
</script>

